package cn.wolfcode.trip.base.domain;

import cn.wolfcode.trip.base.mapper.DynamicSecondaryReviewMapper;
import lombok.Getter;
import lombok.Setter;

import java.util.Date;
import java.util.List;

/**
 * 动态的评论
 */
@Getter
@Setter
public class DynamicSecondaryReview extends BaseDomain{
    //评论人
    private User commentator;
    //动态
    private DynamicContent dynamic;
    //评论时间
    private Date createTime;
    //评论内容
    private String content;
    //上级评论id
    private Long parentId;
    //二级评论集合
    private List secondaryReiew;
}